import request from '@/utils/request'
import { Timeline } from '@/types/api.ts'

export const list = (): Promise<Timeline[]> => {
  return request({
    url: '/portal/timeline/list',
    method: 'post',
    data: {},
  })
}
